﻿using XFPPT.NET;
using XFPPT.NET.Enum;
using XFPPT.NET.Models;

namespace ApiAuthTest
{
    internal class Program
    {
        static void Main(string[] args)
        {
            String appId = "appId";
            String secret = "secret";

            XFPPTv2ApiClient xFPPTv2ApiClient = new XFPPTv2ApiClient(appId, secret);
            xFPPTv2ApiClient.GetAuthHeaders();

            Console.WriteLine("appId:" + xFPPTv2ApiClient.TempAuthInfo.appId);
            Console.WriteLine("timestamp:" + xFPPTv2ApiClient.TempAuthInfo.timestamp);
            Console.WriteLine("signature:" + xFPPTv2ApiClient.TempAuthInfo.signature);
            Console.ReadLine();
            Console.ReadKey();
        }
    }
}
